package com.gofruit.bean;

import java.util.Date;

/**
 * 
 * @author 陈瑶
 * @see 用户实体。我建议忘记密码用短信验证或者邮箱验证
 *
 */
public class User {
	
	private int userId;//用户编号
	private String userName;//用户名
	private String userPwd;//用户密码
	private String userIdentity;//用户身份证
	private String userRealName;//用户真实姓名
	private String userTel;//用户电话
	private String userQQ;//用户QQ
	private String userMail;//用户邮箱
	private String userWeiXin;//用户微信
	private String userLogoLocation;//用户Logo地址
	private String userAddress;//用户地址。比如几栋、哪个宿舍
	private int userSex;//用户性别
	private Date userRegTime;//用户注册时间
	private Date userLastLoginTime;//用户最近一次登录时间
	private String userDetail;//用户备注
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public String getUserIdentity() {
		return userIdentity;
	}
	public void setUserIdentity(String userIdentity) {
		this.userIdentity = userIdentity;
	}
	public String getUserRealName() {
		return userRealName;
	}
	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}
	public String getUserTel() {
		return userTel;
	}
	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}
	public String getUserQQ() {
		return userQQ;
	}
	public void setUserQQ(String userQQ) {
		this.userQQ = userQQ;
	}
	public String getUserMail() {
		return userMail;
	}
	public void setUserMail(String userMail) {
		this.userMail = userMail;
	}
	public String getUserWeiXin() {
		return userWeiXin;
	}
	public void setUserWeiXin(String userWeiXin) {
		this.userWeiXin = userWeiXin;
	}
	public String getUserLogoLocation() {
		return userLogoLocation;
	}
	public void setUserLogoLocation(String userLogoLocation) {
		this.userLogoLocation = userLogoLocation;
	}
	public String getUserAddress() {
		return userAddress;
	}
	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}
	public int getUserSex() {
		return userSex;
	}
	public void setUserSex(int userSex) {
		this.userSex = userSex;
	}
	public Date getUserRegTime() {
		return userRegTime;
	}
	public void setUserRegTime(Date userRegTime) {
		this.userRegTime = userRegTime;
	}
	public Date getUserLastLoginTime() {
		return userLastLoginTime;
	}
	public void setUserLastLoginTime(Date userLastLoginTime) {
		this.userLastLoginTime = userLastLoginTime;
	}
	
	public String getUserDetail() {
		return userDetail;
	}
	public void setUserDetail(String userDetail) {
		this.userDetail = userDetail;
	}
	
	public User(int userId, String userName, String userPwd,
			String userIdentity, String userRealName, String userTel,
			String userQQ, String userMail, String userWeiXin,
			String userLogoLocation, String userAddress, int userSex,
			Date userRegTime, Date userLastLoginTime, String userDetail) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPwd = userPwd;
		this.userIdentity = userIdentity;
		this.userRealName = userRealName;
		this.userTel = userTel;
		this.userQQ = userQQ;
		this.userMail = userMail;
		this.userWeiXin = userWeiXin;
		this.userLogoLocation = userLogoLocation;
		this.userAddress = userAddress;
		this.userSex = userSex;
		this.userRegTime = userRegTime;
		this.userLastLoginTime = userLastLoginTime;
		this.userDetail = userDetail;
	}
	public User(String userName, String userPwd) {
		super();
		this.userName = userName;
		this.userPwd = userPwd;
	}
	public User() {
		super();
		
	}
	
	
}
